import Toast from './toast.vue'
let obj={}
obj.install=function(Vue){
  let constuctor=Vue.extend(Toast)
  let toast=new constuctor()
  toast.$mount(document.createElement('div'))
  document.body.appendChild(toast.$el)
  Vue.prototype.$toast=toast
}
export default obj
